package com.dingup.api.adapter.user;

import com.dingup.api.model.sys.SysRole;
import com.dingup.api.model.sys.SysSubject;
import com.dingup.api.model.sys.SysUser;

import java.util.List;

/**
 * Created by wancheng on 2018/10/9.
 */
public class SysUserAdapter extends SysUser {

    Boolean ifStudent;

    List<SysSubject> subjects;

    List<SysRole> roles;

    public Boolean getIfStudent() {
        return ifStudent;
    }

    public void setIfStudent(Boolean ifStudent) {
        this.ifStudent = ifStudent;
    }

    public List<SysSubject> getSubjects() {
        return subjects;
    }

    public void setSubjects(List<SysSubject> subjects) {
        this.subjects = subjects;
    }

    @Override
    public List<SysRole> getRoles() {
        return roles;
    }

    @Override
    public void setRoles(List<SysRole> roles) {
        this.roles = roles;
    }
}
